## Don't make symlinks on Windows.
# UNSUPPORTED: system-windows

# RUN: rm -rf %t
# RUN: mkdir %t
# RUN: ln -s llvm-ranlib %t/llvm-ranlib-9
# RUN: ln -s llvm-ranlib %t/ranlib.exe

# RUN: llvm-ranlib -h | FileCheck %s --check-prefix=DEFAULT
# RUN: %t/llvm-ranlib-9 -h | FileCheck %s --check-prefix=VERSION
# RUN: %t/ranlib.exe -h | FileCheck %s --check-prefix=SUFFIX

# DEFAULT: USAGE: llvm-ranlib{{ }}
# VERSION: USAGE: llvm-ranlib-9{{ }}
# SUFFIX: USAGE: ranlib{{ }}
